home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 June: Reference Library / Dev.CD Jun 96 RL / Dev.CD Jun 96 RL.toast / Technical Documentation / develop / develop Issue 6 / develop Issue 6 code / TCP.sea / TCP / NewsWatcher / NW Source / Source / header.h < prev    next >
MacBinary  |  1995-03-22  |  1.5 KB  |  [TEXT/MMCC]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Wed Mar 22 15:10:38 1995, modified Wed Mar 22 15:10:38 1995, creator 'MMCC', type ASCII, 882 bytes "header.h" , at 0x3f2 410 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% dearkID deark: macbinary default
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MMCC]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 08 68 65 61 64 65 72 | 2e 68 00 00 00 00 00 00 |..header|.h......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 4d 43 | 43 01 00 00 00 00 00 00 |.TEXTMMC|C.......|
|00000050| 00 00 00 00 00 03 72 00 | 00 01 9a ab 96 34 be ab |......r.|.....4..|
|00000060| 96 34 be 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.4......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 5d e2 00 00 |........|....]...|
|00000080| 76 6f 69 64 20 4d 61 6b | 65 46 72 6f 6d 48 65 61 |void Mak|eFromHea|
|00000090| 64 65 72 20 28 63 68 61 | 72 20 66 72 6f 6d 5b 35 |der (cha|r from[5|
|000000a0| 31 34 5d 29 3b 0d 42 6f | 6f 6c 65 61 6e 20 48 65 |14]);.Bo|olean He|
|000000b0| 61 64 65 72 4c 69 6e 65 | 49 73 45 6d 70 74 79 20 |aderLine|IsEmpty |
|000000c0| 28 48 61 6e 64 6c 65 20 | 68 64 72 29 3b 0d 4f 53 |(Handle |hdr);.OS|
|000000d0| 45 72 72 20 4d 61 6b 65 | 4e 65 77 73 48 65 61 64 |Err Make|NewsHead|
|000000e0| 65 72 20 28 48 61 6e 64 | 6c 65 20 6e 65 77 73 67 |er (Hand|le newsg|
|000000f0| 72 6f 75 70 73 2c 20 48 | 61 6e 64 6c 65 20 73 75 |roups, H|andle su|
|00000100| 62 6a 65 63 74 2c 20 48 | 61 6e 64 6c 65 20 72 65 |bject, H|andle re|
|00000110| 70 6c 79 74 6f 2c 20 0d | 09 48 61 6e 64 6c 65 20 |plyto, .|.Handle |
|00000120| 66 6f 6c 6c 6f 77 75 70 | 74 6f 2c 20 48 61 6e 64 |followup|to, Hand|
|00000130| 6c 65 20 6b 65 79 77 6f | 72 64 73 2c 20 48 61 6e |le keywo|rds, Han|
|00000140| 64 6c 65 20 64 69 73 74 | 72 69 62 75 74 69 6f 6e |dle dist|ribution|
|00000150| 2c 20 48 61 6e 64 6c 65 | 20 65 78 74 72 61 73 2c |, Handle| extras,|
|00000160| 20 0d 09 48 61 6e 64 6c | 65 20 63 6f 6e 74 72 6f | ..Handl|e contro|
|00000170| 6c 2c 20 48 61 6e 64 6c | 65 20 72 65 66 65 72 65 |l, Handl|e refere|
|00000180| 6e 63 65 73 2c 20 48 61 | 6e 64 6c 65 20 2a 68 65 |nces, Ha|ndle *he|
|00000190| 61 64 65 72 29 3b 0d 4f | 53 45 72 72 20 4d 61 6b |ader);.O|SErr Mak|
|000001a0| 65 4d 61 69 6c 48 65 61 | 64 65 72 20 28 48 61 6e |eMailHea|der (Han|
|000001b0| 64 6c 65 20 73 75 62 6a | 65 63 74 2c 20 48 61 6e |dle subj|ect, Han|
|000001c0| 64 6c 65 20 74 6f 2c 20 | 48 61 6e 64 6c 65 20 63 |dle to, |Handle c|
|000001d0| 63 2c 20 48 61 6e 64 6c | 65 20 62 63 63 2c 20 48 |c, Handl|e bcc, H|
|000001e0| 61 6e 64 6c 65 20 66 72 | 6f 6d 2c 0d 09 42 6f 6f |andle fr|om,..Boo|
|000001f0| 6c 65 61 6e 20 63 6f 70 | 79 53 65 6c 66 2c 20 48 |lean cop|ySelf, H|
|00000200| 61 6e 64 6c 65 20 72 65 | 70 6c 79 74 6f 2c 20 48 |andle re|plyto, H|
|00000210| 61 6e 64 6c 65 20 6b 65 | 79 77 6f 72 64 73 2c 20 |andle ke|ywords, |
|00000220| 48 61 6e 64 6c 65 20 65 | 78 74 72 61 73 2c 0d 09 |Handle e|xtras,..|
|00000230| 48 61 6e 64 6c 65 20 6e | 65 77 73 67 72 6f 75 70 |Handle n|ewsgroup|
|00000240| 73 2c 20 48 61 6e 64 6c | 65 20 66 6f 6c 6c 6f 77 |s, Handl|e follow|
|00000250| 75 70 74 6f 2c 20 48 61 | 6e 64 6c 65 20 64 69 73 |upto, Ha|ndle dis|
|00000260| 74 72 69 62 75 74 69 6f | 6e 2c 20 0d 09 48 61 6e |tributio|n, ..Han|
|00000270| 64 6c 65 20 72 65 66 65 | 72 65 6e 63 65 73 2c 20 |dle refe|rences, |
|00000280| 48 61 6e 64 6c 65 20 2a | 68 65 61 64 65 72 29 3b |Handle *|header);|
|00000290| 0d 42 6f 6f 6c 65 61 6e | 20 46 69 6e 64 48 65 61 |.Boolean| FindHea|
|000002a0| 64 65 72 43 53 74 72 69 | 6e 67 20 28 48 61 6e 64 |derCStri|ng (Hand|
|000002b0| 6c 65 20 74 65 78 74 2c | 20 63 68 61 72 20 2a 6b |le text,| char *k|
|000002c0| 65 79 2c 20 63 68 61 72 | 20 2a 63 6f 6e 74 65 6e |ey, char| *conten|
|000002d0| 74 73 2c 20 0d 09 6c 6f | 6e 67 20 6d 61 78 4c 65 |ts, ..lo|ng maxLe|
|000002e0| 6e 67 74 68 29 3b 0d 4f | 53 45 72 72 20 46 69 6e |ngth);.O|SErr Fin|
|000002f0| 64 48 65 61 64 65 72 48 | 61 6e 64 6c 65 20 28 48 |dHeaderH|andle (H|
|00000300| 61 6e 64 6c 65 20 74 65 | 78 74 2c 20 63 68 61 72 |andle te|xt, char|
|00000310| 20 2a 6b 65 79 2c 20 48 | 61 6e 64 6c 65 20 2a 63 | *key, H|andle *c|
|00000320| 6f 6e 74 65 6e 74 73 29 | 3b 0d 76 6f 69 64 20 46 |ontents)|;.void F|
|00000330| 6f 72 6d 61 74 41 75 74 | 68 6f 72 4e 61 6d 65 20 |ormatAut|horName |
|00000340| 28 63 68 61 72 20 2a 66 | 72 6f 6d 29 3b 0d 6c 6f |(char *f|rom);.lo|
|00000350| 6e 67 20 46 69 6e 64 42 | 6f 64 79 20 28 48 61 6e |ng FindB|ody (Han|
|00000360| 64 6c 65 20 74 65 78 74 | 29 3b 0d 76 6f 69 64 20 |dle text|);.void |
|00000370| 44 65 6c 65 74 65 48 65 | 61 64 65 72 4c 69 6e 65 |DeleteHe|aderLine|
|00000380| 20 28 48 61 6e 64 6c 65 | 20 74 65 78 74 2c 20 63 | (Handle| text, c|
|00000390| 68 61 72 20 2a 6b 65 79 | 29 3b 0d 6c 6f 6e 67 20 |har *key|);.long |
|000003a0| 50 61 72 73 65 52 65 20 | 28 63 68 61 72 20 2a 73 |ParseRe |(char *s|
|000003b0| 75 62 6a 65 63 74 2c 20 | 6c 6f 6e 67 20 6c 65 6e |ubject, |long len|
|000003c0| 29 3b 0d 42 6f 6f 6c 65 | 61 6e 20 53 74 72 69 6e |);.Boole|an Strin|
|000003d0| 67 49 73 56 61 6c 69 64 | 45 6d 61 69 6c 41 64 64 |gIsValid|EmailAdd|
|000003e0| 72 65 73 73 20 28 63 68 | 61 72 20 2a 73 74 72 29 |ress (ch|ar *str)|
|000003f0| 3b 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |;.......|........|
|00000400| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000410| 0d 42 6f 6f 6c 65 61 6e | 20 46 69 6e 64 48 65 61 |.Boolean| FindHea|
|00000420| 64 65 72 43 53 74 72 69 | 6e 67 20 28 48 61 6e 64 |derCStri|ng (Hand|
|00000430| 08 68 65 61 64 65 72 2e | 68 00 02 00 00 00 54 45 |.header.|h.....TE|
|00000440| 58 54 4d 4d 43 43 01 00 | ff ff ff ff 00 00 00 00 |XTMMCC..|........|
|00000450| 00 00 54 45 58 54 4d 4d | 43 43 01 00 ff ff ff ff |..TEXTMM|CC......|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 aa 4f 8a 2f 00 00 | 03 72 00 00 01 9a 28 48 |...O./..|.r....(H|
|00000480| 61 6e 64 6c 65 20 74 65 | 78 74 2c 20 63 68 61 72 |andle te|xt, char|
|00000490| 20 2a 6b 65 79 2c 20 48 | 61 6e 64 6c 65 20 2a 63 | *key, H|andle *c|
|000004a0| 6f 6e 74 65 6e 74 73 29 | 3b 0d 76 6f 69 64 20 46 |ontents)|;.void F|
|000004b0| 6f 72 6d 61 74 41 75 74 | 68 6f 72 4e 61 6d 65 20 |ormatAut|horName |
|000004c0| 28 63 68 61 72 20 2a 66 | 72 6f 6d 29 3b 0d 6c 6f |(char *f|rom);.lo|
|000004d0| 6e 67 20 46 69 6e 64 42 | 6f 64 79 20 28 48 61 6e |ng FindB|ody (Han|
|000004e0| 64 6c 65 20 74 65 78 74 | 29 3b 0d 76 6f 69 64 20 |dle text|);.void |
|000004f0| 44 65 6c 65 74 65 48 65 | 61 64 65 72 4c 69 6e 65 |DeleteHe|aderLine|
|00000500| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 03 | 00 04 00 57 00 10 01 8b |........|...W....|
|00000530| 02 74 00 57 00 10 01 8b | 02 74 ab 95 fc 7f 00 00 |.t.W....|.t......|
|00000540| 03 71 00 00 03 71 00 00 | 00 00 01 00 00 00 00 04 |.q...q..|........|
|00000550| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00000560| 00 00 00 46 01 38 06 28 | 1d c0 00 00 00 1c 00 46 |...F.8.(|.......F|
|00000570| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000580| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000590| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+